package com.kys.application;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

import java.io.IOException;

@SpringBootApplication
@ImportResource("classpath:spring.xml")
public class DubboProviderApplication implements CommandLineRunner {
    public static void main(String[] args) throws IOException {
        SpringApplication.run(DubboProviderApplication.class);
        System.in.read();
    }

    @Override
    public void run(String... args) throws Exception {
    }
}
